package com.yxp423.ssmempl.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxp423.ssmempl.bean.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface DeptMapper extends BaseMapper<Dept> {

    @Select("SELECT * FROM sys_dept")
    List<Dept> getDepartment();

}
